import request from '@/utils/request'

export function getSupplierCompany() {
  return request({
    url: '/system/dict/data/type/supplier_company',
    method: 'get',
  })
}

export function getInboundDict() {
  return request({
    url: '/system/dict/data/type/mobile_inbound',
    method: 'get',
  })
}
export function getMobileInboundDict() {
  return request({
    url: '/system/dict/data/type/mobile_inbound',
    method: 'get',
  })
}

export function getBadItemDict() {
  return request({
    url: '/system/dict/data/type/bad_item',
    method: 'get',
  })
}

export function getItemStatusDict() {
  return request({
    url: '/system/dict/data/type/item_status',
    method: 'get',
  })
}

export function getItemDescList(data) {
  return request({
    url: '/system/dict/data/list/all',
    method: 'get',
    data
  })
}

export function getFabricInspectionConclusionDict(data) {
  return request({
    url: '/system/dict/data/type/fabric_inspection_conclusion',
    method: 'get',
    data
  })
}

export function getBottleInspectionConclusionDict(data) {
  return request({
    url: '/system/dict/data/type/bottle_inspection_conclusion',
    method: 'get',
    data
  })
}

export function getBadProject() {
  return request({
    url: '/system/dict/data/type/bad_project',
    method: 'get',
  })
}